package edu.sctu.practice.class01.zhangwang.day2015_10_08.text09;

/**
 * Created by Z_W on 2015/10/9.
 */
public class UserInter {
    private int ID;
    private int password;
    private String email;

    public UserInter(int ID, int password, String email) {
        this.ID = ID;
        this.password = password;
        this.email = email;
    }

    public UserInter(int ID, int password) {
        this.ID = ID;
        this.password = password;
        this.email = ID+"@gameschool.com";
    }
    public void showInfo(){
        System.out.println("id为"+ID+"密码为："+password+"邮箱为："+email);
    }
}
